package jezyk_java.robert_wolos.watki;


/**
 * Autor: Daniel Michalski
 * Data: 11.07.13
 */

public class Konsumer implements Runnable {
    Q q;

    public Konsumer(Q q) {
        this.q = q;
    }

    @Override
    public void run() {
        while (true) {
            q.get();
        }
    }
}
